package gd.qaq.blue.locationleader.entity;

import org.bukkit.Location;

import java.util.List;

public class TargetLocation {
    private String locationName;
    private Location location;
    private List<Location> routes;
    private int nextBlockIndex = 0;
    private boolean isAuto = false;
    private Long lastUpdateTime = 0L;

    public boolean isAuto() {
        return isAuto;
    }

    public void setAuto(boolean auto) {
        isAuto = auto;
    }

    public int getNextBlockIndex() {
        return nextBlockIndex;
    }

    public Long getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Long lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public void setNextBlockIndex(int nextBlockIndex) {
        this.nextBlockIndex = nextBlockIndex;
    }

    public String getLocationName() {
        return locationName;
    }

    public List<Location> getRoutes() {
        return routes;
    }

    public void setRoutes(List<Location> routes) {
        this.routes = routes;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }
}
